package com.news.service;

import com.news.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Leeion
 * @since 2021-12-06
 */
public interface SysUserService extends IService<SysUser> {

    /*
     * 查询用户
     * */
    SysUser findUserByUsername(String username);

    /**
     * 保存用户
     */

    void saveUser(SysUser user);
}
